package com.nt.train.configuration;

import com.nt.train.configuration.properties.JdbcConfig;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 * 示例:
  @Import、@PropertySource、@Value:我们可以组合使用
 * @author hlf
 * @version 1.0
 * @date 2022/7/31 21:09
 */
@Configuration
@ComponentScan("com.nt.train")
@Import(JdbcConfig.class)
@PropertySource("classpath:jdbcConfig.properties")
public class SpringConfiguration {
}
